<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>连连平台</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0,user-scalable=no">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <style>
        html,body{margin:0; padding:0;height:100%; background: #1d2939;}
        .btn {
            display: inline-block;
            padding: 6px 12px;
            margin-bottom: 0;
            font-size: 14px;
            font-weight: 400;
            line-height: 1.42857143;
            text-align: center;
            white-space: nowrap;
            vertical-align: middle;
            cursor: pointer;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
            background-image: none;
            border: 1px solid transparent;
            border-radius: 4px;
        }
        .btn {
            -moz-border-radius: 3px;
            -webkit-border-radius: 3px;
            border-radius: 3px;
            line-height: 21px;
            -moz-transition: all 0.2s ease-out 0s;
            -webkit-transition: all 0.2s ease-out 0s;
            transition: all 0.2s ease-out 0s;
            padding: 9px 15px;
        }
        .btn-success {
            background-color: #1CAF9A;
            border-color: #17a08c;
        }
        .btn-block {
            display: block;
            width: 200px;
            color:#fff;
        }

    </style>
</head>
<body >

<div style="width:100%;height:100%;position:relative;color:#fff;">
    <div style="width:auto;height:300px;margin: auto;  position: absolute;  top: 0; left: 0; bottom: 0; right: 0; ">
        <div style="text-align: center;">
            <img src="/images/lianlian.png" style="height:100px;"/>
        </div>
        <div style="text-align: center;padding:10px;">{{$msg}}</div>
        {{if $btn_msg}}
        <div style="display:flex;justify-content:center;text-align: center;padding:10px;" id="btn_msg">
            <button class="btn btn-success btn-block" onclick="set_token(this,'{{$weixin_token}}')">{{$btn_msg}}</button>
        </div>
        {{/if}}
    </div>
</div>
<script src="../js/jquery-1.11.1.min.js"></script>
<script src="../js/jquery-migrate-1.2.1.min.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script src="../js/modernizr.min.js"></script>
<script src="../js/jquery.sparkline.min.js"></script>
<script src="../js/jquery.cookies.js"></script>
<script src="../js/toggles.min.js"></script>
<script src="../js/retina.min.js"></script>
<script src="../js/custom.js"></script>
<script src="../js/commen.js" charset="utf-8"></script>
<!--<script src="../layui/lay/modules/layer.js"></script>-->
<link href="../css/ley.dialog.css" rel="stylesheet">
<script src="../js/ley.dialog.js?t={{$version}}"></script>
<script>
    function set_token(obj,weixin_token)
    {
        AjaxCommen("GET","/login/weixin_login_submit",{weixin_token:weixin_token},function (result) {
            if (!result.error)
            {
                openMsg(result.msg);
            }
            if(result.error === 0)
            {
                $("#btn_msg").hide();
            }

        });
    }
</script>
</body>
</html>